﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TCHSHue.DAL;

namespace TCHSHue.BLL
{
    public class TinhTrangHoSoBLL
    {
        internal static TrangThaiHoSo getTinhTrang(int maTinhTrang)
        {
            using (QLHSHueDataContext data = new QLHSHueDataContext())
            {
                return (from e in data.TrangThaiHoSos
                        where maTinhTrang == e.maTrangThai
                        select e).SingleOrDefault();
            }
        }
    }
}